﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace LosConn.Web.Retail
{
    public partial class RetailUpdate : BasePage.AdminBasePage
    {
        public String Retail_Name = String.Empty;
        public String Retail_Money = String.Empty;
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                Int32 Retail_ID = Convert.ToInt32(Request.QueryString["id"]);
                Model.Los_Retail model = new BLL.Los_Retail().GetModel(Retail_ID);
                Retail_Name = model.Retail_Name;
                Retail_Address.Value = model.Retail_Address;
                Retail_Contact.Value = model.Retail_Contact;
                Retail_LogisticsName.Value = model.Retail_LogisticsName;
                Retail_LogisticsPhone.Value = model.Retail_LogisticsPhone;
                Retail_PayName.Value = model.Retail_PayName;
                Retail_PayPhone.Value = model.Retail_PayPhone;
                Retail_Remark.Value = model.Retail_Remark;
                Retail_Money = model.Retail_Money.ToString();
            }
        }
    }
}